package com.hoshiibuy.sku.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 基础SKU商品图片资源
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_sku_gallery")
public class BaseSkuGallery implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
    * sukid
    */
    @TableField("skuid")
    private Long skuid;


    /**
    * 分类 1-商品主图 2-商品明细图
    */
    @TableField("image_type")
    private Integer imageType;


    /**
    * 图片描述
    */
    @TableField("description")
    private String description;


    /**
    * 商品图片
    */
    @TableField("image")
    private String image;


    /**
    * 创建时间
    */
    @TableField("createdtime")
    private LocalDateTime createdtime;


    /**
    * 修改时间
    */
    @TableField("updatedtime")
    private LocalDateTime updatedtime;


    /**
    * 建立人
    */
    @TableField("createdby")
    private String createdby;


    /**
    * 修改人
    */
    @TableField("updatedby")
    private String updatedby;


    /**
    * 是否删除
    */
    @TableField("deleted")
    private Integer deleted;



}
